package org.example.lotterysystem.controller.param;

import jakarta.validation.constraints.NotNull;

import java.io.Serializable;

public class ShowWinningRecordsParam implements Serializable {
    /**
     * 活动id
     */
    @NotNull(message = "活动id不能为空")
    private Long activityId;

    /**
     * 奖品id
     */
    private Long prizeId;

    public @NotNull(message = "活动id不能为空") Long getActivityId() {
        return activityId;
    }

    public void setActivityId(@NotNull(message = "活动id不能为空") Long activityId) {
        this.activityId = activityId;
    }

    public Long getPrizeId() {
        return prizeId;
    }

    public void setPrizeId(Long prizeId) {
        this.prizeId = prizeId;
    }
}
